package spring;

/**
 * @ProjectName: Spring
 * @Package: spring
 * @ClassName: BeanDefinitionReaderUtils
 * @Author: zxh
 * @Description:
 * @Date: 2022/3/10 15:35
 * @Version: 1.0
 */
public abstract class BeanDefinitionReaderUtils {

    public static void registerBeanDefinition(BeanDefinitionHolder beanDefinitionHolder,BeanDefinitionRegistry register){
        String beanName = beanDefinitionHolder.getBeanName();
        register.registerBeanDefinition(beanName,beanDefinitionHolder.getBeanDefinition());
    }


}
